﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VoxelEngine
{
    /// <summary>
    /// Класс, описывающий вершину модели
    /// </summary>
    public class Vertex
    {
        private float x;
        /// <summary>
        /// Координата X
        /// </summary>
        public float X
        {
            get
            {
                return x;
            }
            set
            {
                x = value;
            }
        }

        private float y;
        /// <summary>
        /// Координата Y
        /// </summary>
        public float Y
        {
            get
            {
                return y;
            }
            set
            {
                y = value;
            }
        }

        private float z;
        /// <summary>
        /// Координата Z
        /// </summary>
        public float Z
        {
            get
            {
                return z;
            }
            set
            {
                z = value;
            }
        }

        public Vertex(float coordX, float coordY, float coordZ)
        {
            this.X = coordX;
            this.Y = coordY;
            this.Z = coordZ;
        }
    }
}
